import type { AxiosPromise } from "axios";
import type {
  ProcInstReq,
  FlowProcInstPage,
  FlowProcInstKey,
  FlowProcInstModel,
} from "../task/types";

import type { EntityApi } from "jmash-core";

// 接口
export interface DoneInstApi extends EntityApi {
  getKey(model: FlowProcInstModel): FlowProcInstKey;
  // 获取我的已办事项
  findPage(req: ProcInstReq): AxiosPromise<FlowProcInstPage>;
}
